﻿<%@ Page Title="" Language="C#" MasterPageFile="~/QuanTri/Manager.master" AutoEventWireup="true"
    CodeFile="TrangPhieuDiemChiTietHS.aspx.cs" Inherits="QuanTri_TrangPhieuDiemChiTietHS" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head1" runat="Server">
    <link href="../CSS/FixItem.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
    <div style="width: 100%; height: 500px; margin-top: 5px;">
        <div id="main_panel" style="width: 100%;">
            <div id="personal_content" style="padding: 10px; border: 1px solid #ccc">
                <div class="personal_top_text">
                    Phiếu điểm chi tiết của học sinh
                </div>
                <div>
                    <span style="font-size: 17px;">Tên học sinh:</span>
                    <asp:Label runat="server" ID="lblTenHS" ForeColor="Blue" Font-Size="20px"></asp:Label>
                    <asp:Label runat="server" ID="lblMaHS" Visible="false"></asp:Label>
                </div>
                <div>
                    <span style="font-size: 17px;">Lớp:</span>
                    <asp:Label runat="server" ID="lblTenLop" ForeColor="Blue" Font-Size="20px"></asp:Label>
                </div>
                <div style="text-align: right;">
                    <asp:RadioButton runat="server" ID="rdoKyI" GroupName="HocKy"  Checked="True"
                        AutoPostBack="True" OnCheckedChanged="rdoKyI_CheckedChanged" />Học kỳ I&nbsp;&nbsp;&nbsp;
                    <asp:RadioButton runat="server" ID="rdoKyII" GroupName="HocKy"  AutoPostBack="True"
                        OnCheckedChanged="rdoKyII_CheckedChanged" />Học kỳ II&nbsp;&nbsp;&nbsp;
                    <asp:RadioButton runat="server" ID="rdoCaNam" GroupName="HocKy"  AutoPostBack="True"
                        OnCheckedChanged="rdoCaNam_CheckedChanged" />Cả năm&nbsp;&nbsp;&nbsp;
                </div>
                <div style="margin-top: 10px;">
                    <asp:MultiView ActiveViewIndex="0" ID="MultiView1" runat="server">
                        <asp:View ID="View1" runat="server">
                            <asp:GridView runat="server" ID="grDiemChiTiet" AutoGenerateColumns="False" Width="100%"
                                AllowPaging="True" Height="28px" ShowFooter="True" EnableModelValidation="True"
                                ForeColor="Black">
                                <RowStyle BackColor="#EFF3FB" BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <Columns>
                                    <asp:TemplateField HeaderText="STT">
                                        <ItemTemplate>
                                            <%# Container.DataItemIndex + 1 %>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Môn học" SortExpression="TenMon">
                                        <ItemTemplate>
                                            <%#Eval("TenMon")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="M1" SortExpression="DiemMieng1">
                                        <ItemTemplate>
                                            <%#Eval("DiemMieng1")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="M2" SortExpression="DiemMieng2">
                                        <ItemTemplate>
                                            <%#Eval("DiemMieng2")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="M3" SortExpression="DiemMieng3">
                                        <ItemTemplate>
                                            <%#Eval("DiemMieng3")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="M4" SortExpression="DiemMieng4">
                                        <ItemTemplate>
                                            <%#Eval("DiemMieng4")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="M5" SortExpression="DiemMieng5">
                                        <ItemTemplate>
                                            <%#Eval("DiemMieng5")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="15'1" SortExpression="Diem15_1">
                                        <ItemTemplate>
                                            <%#Eval("Diem15_1")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="15'2" SortExpression="Diem15_2">
                                        <ItemTemplate>
                                            <%#Eval("Diem15_2")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="15'3" SortExpression="Diem15_3">
                                        <ItemTemplate>
                                            <%#Eval("Diem15_3")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="15'4" SortExpression="Diem15_4">
                                        <ItemTemplate>
                                            <%#Eval("Diem15_4")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="15'5" SortExpression="Diem15_5">
                                        <ItemTemplate>
                                            <%#Eval("Diem15_5")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="45'1" SortExpression="Diem45_1">
                                        <ItemTemplate>
                                            <%#Eval("Diem45_1")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="45'2" SortExpression="Diem45_2">
                                        <ItemTemplate>
                                            <%#Eval("Diem45_2")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="45'3" SortExpression="Diem45_3">
                                        <ItemTemplate>
                                            <%#Eval("Diem45_3")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="45'4" SortExpression="Diem45_4">
                                        <ItemTemplate>
                                            <%#Eval("Diem45_4")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="HK" SortExpression="DiemThi">
                                        <ItemTemplate>
                                            <%#Eval("DiemThi")%></ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="ĐTB" SortExpression="DTBMonHocKy">
                                        <ItemTemplate>
                                            <%#Eval("DTBMonHocKy")%></ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <HeaderStyle BackColor="#9999FF" Font-Bold="True" BorderColor="Blue" Height="30px"
                                    ForeColor="#333333" />
                                <PagerStyle BackColor="#E4ECEF" HorizontalAlign="Left" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                        </asp:View>
                        <asp:View ID="View2" runat="server">
                            <asp:GridView runat="server" ID="grvDTBCaNam" AutoGenerateColumns="False" Width="100%"
                                AllowPaging="True" Height="28px" ShowFooter="True" EnableModelValidation="True"
                                ForeColor="Black">
                                <RowStyle BackColor="#EFF3FB" BorderStyle="None" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <Columns>
                                    <asp:TemplateField HeaderText="STT">
                                        <ItemTemplate>
                                            <%# Container.DataItemIndex + 1 %>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Môn học" SortExpression="TenMon">
                                        <ItemTemplate>
                                            <%#Eval("TenMon")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Học kỳ I" SortExpression="DTBMonHocKy1">
                                        <ItemTemplate>
                                            <%#Eval("DTBMonHocKy1")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Học kỳ II" SortExpression="DTBMonHocKy2">
                                        <ItemTemplate>
                                            <%#Eval("DTBMonHocKy2")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Cả năm" SortExpression="DTBMonCaNam">
                                        <ItemTemplate>
                                            <%#Eval("DTBMonCaNam")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <HeaderStyle BackColor="#9999FF" Font-Bold="True" BorderColor="Blue" Height="30px"
                                    ForeColor="#333333" />
                                <PagerStyle BackColor="#E4ECEF" HorizontalAlign="Left" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                        </asp:View>
                    </asp:MultiView>
                    <div style="margin-top: 10px; text-align: right; margin-right: 10px;">
                        <span style="margin-right:350px;"><asp:ImageButton runat="server" ID="imbBack" 
                            ImageUrl="~/Icon/back.ico" Height="50px" Width="100px" onclick="imbBack_Click" /> </span>
                        <span style="margin-right: 10px;">Điểm trung bình:<asp:Label runat="server" ID="lblDTB"
                            ForeColor="Blue"></asp:Label>
                        </span><span style="margin-right: 10px;">Học lực:<asp:Label runat="server" ID="lblHocLuc"
                            ForeColor="Blue"></asp:Label>
                        </span><span style="margin-right: 10px;">Hạnh kiểm:<asp:Label runat="server" ID="lblHanhKiem"
                            ForeColor="Blue"></asp:Label>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
